using System;
using System.Collections.Generic;
using System.Text;

namespace GoogleNet
{
    /// <summary>
    /// Specifies a time-based refresh mode, which can be one of the following: 
    /// <list type="bullet">
    /// <item>onChange - refresh when the file is loaded and whenever the Link parameters change (the default). </item>
    /// <item>onInterval - refresh every n seconds (specified in refreshInterval). </item>
    /// <item>onExpire - refresh the file when the expiration time is reached. 
    /// For files fetched via NetworkLinkControls, the expires tag time takes precedence over expiration times 
    /// specified in HTTP headers. If no expires tag time is specified, the HTTP max-age header is used (if present). 
    /// If max-age is not present, the Expires HTTP header is used (if present). 
    /// (See Section RFC261b of the Hypertext Transfer Protocol - HTTP 1.1 for details on HTTP header fields.) </item>
    /// </list>
    /// </summary>
    public enum KmlRefreshModes
    {
        /// <summary>
        /// Refresh when the file is loaded and whenever the Link parameters change (the default)
        /// </summary>
        onChange,
        /// <summary>
        /// Refresh every n seconds (specified in refreshInterval).
        /// </summary>
        onInterval,
        /// <summary>
        /// Refresh the file when the expiration time is reached. 
        /// </summary>
        onExpire
    }
}
